using System;
using System.Collections.Generic;
using System.Text;
using Deepcode.Flux.Core.Services.FluxClient;

namespace Deepcode.Flux.Core.UI.Controls.Base
{
	public class BaseValidator : System.Web.UI.WebControls.BaseValidator
	{
		/// <summary>
		/// Loads a javascript file from the flux_client mapping
		/// </summary>
		/// <param name="ClientJS"></param>
		/// <param name="UniqueID"></param>
		protected void LoadClientScript(string ClientJS, string UniqueID)
		{
			Page.ClientScript.RegisterClientScriptInclude(UniqueID, ClientHelper.GetFluxClientFile(ClientJS));
		}

		protected override bool EvaluateIsValid()
		{
			return false;
		}
	}
}
